package org.jeecg.modules.ylJiayd.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 加油单
 * @Author: jeecg-boot
 * @Date:   2020-09-26
 * @Version: V1.0
 */
@Data
@TableName("hq_yl_jiayd")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hq_yl_jiayd对象", description="加油单")
public class HqYlJiayd implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**油料名称*/
	@Excel(name = "油料名称", width = 15, dicCode = "youph")
	@Dict(dicCode = "youph")
    @ApiModelProperty(value = "油料名称")
    private String youlmc;
	/**使用单位*/
//	@Excel(name = "使用单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
//	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
//    @ApiModelProperty(value = "使用单位")
//    private String shiydw;
	@TableField(exist = false)
    private String yongcdw_fullName;
	/**装备类别*/
	@Excel(name = "装备类别", width = 15)
    @ApiModelProperty(value = "装备类别")
    @Dict(dicCode = "zhuangblb")
    private String zhuangblb;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date riq;
	/**加油凭证*/
	@Excel(name = "加油凭证", width = 15)
    @ApiModelProperty(value = "加油凭证")
    private String jiaypz;
	/**用车单位*/
	@Excel(name = "用车单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "用车单位")
    private String yongcdw;
	/**装备号牌*/
	@Excel(name = "装备号牌", width = 15)
    @ApiModelProperty(value = "装备号牌")
    private String zhuangbhp;
	/**上次加油前历程起始点*/
	@Excel(name = "上次加油前历程起始点", width = 15)
    @ApiModelProperty(value = "上次加油前历程起始点")
    private String jiayqlcqzd;
	/**本次加油前历程起始点*/
	@Excel(name = "本次加油前历程起始点", width = 15)
    @ApiModelProperty(value = "本次加油前历程起始点")
    private String jiayqlcqzd2;
	/**里程*/
	@Excel(name = "里程", width = 15)
    @ApiModelProperty(value = "里程")
    private String lic;
	/**油耗*/
	@Excel(name = "油耗", width = 15)
    @ApiModelProperty(value = "油耗")
    private String youh;
	/**实物训练*/
	@Excel(name = "实物训练", width = 15)
    @ApiModelProperty(value = "实物训练")
    private String shiwXunl;
	/**实物勤务*/
	@Excel(name = "实物勤务", width = 15)
    @ApiModelProperty(value = "实物勤务")
    private String shiwQinw;
	/**实物其它*/
	@Excel(name = "实物其它", width = 15)
    @ApiModelProperty(value = "实物其它")
    private String shiwQita;
	/**实物小计*/
	@Excel(name = "实物小计", width = 15)
    @ApiModelProperty(value = "实物小计")
    private String shiwXiaoj;
	/**价款正常*/
    @ApiModelProperty(value = "价款正常")
    private String jiakZhengc;
	/**价款专项*/
	@Excel(name = "今日油价", width = 15)
    @ApiModelProperty(value = "价款专项")
    private String jiakZhuanx;
	/**价款小计*/
	@Excel(name = "价款小计", width = 15)
    @ApiModelProperty(value = "价款小计")
    private String jiakXiaoj;
	/**油料员*/
	@Excel(name = "油料员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "油料员")
    private String youly;
	/**驾驶员*/
	@Excel(name = "驾驶员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "驾驶员")
    private String jiasy;
}
